package com.mida.bms.report.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author ：wang xiao le
 * @description：TODO
 * @date ：2021/3/30 11:25
 */
@Data
public class DocStructTemplateAuthSpaceVo implements Serializable {

    //业务单元集合
    private List<DocUseSpaceUnitVo> docUseSpaceUnitVoList;
    //授权使用空间人员集合
    private List<DocUseSpaceConsumerVo> docUseSpaceConsumerVoList;

    private String statusName;//状态名称

    /**
     * 医院名称
     */
    @ApiModelProperty(value = "医院名称")
    private String hospitalName;

    private static final long serialVersionUID = 1L;
    /**
     * 结构化模板授权空间标识
     */
    @ApiModelProperty(value = "结构化模板授权空间标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    //@NotBlank(groups = {UpdateValidator.class })
    private Long stTempAuthSpSoid;

    /**
     * 五笔
     */
    @ApiModelProperty(value = "五笔")
    private String wbCode;

    /**
     * 拼音
     */
    @ApiModelProperty(value = "拼音")
    private String pyCode;

    /**
     * 结构化模板授权空间名称
     */
    //@NotBlank(groups = { InsertValidator.class, UpdateValidator.class })
    @ApiModelProperty(value = "结构化模板授权空间名称")
    private String stTempAuthSpName;

    /**
     * 医院标识
     */
    @ApiModelProperty(value = "医院标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long hospitalSoid;

    /**
     * 集团标识
     */
    @ApiModelProperty(value = "集团标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long groupSoid;

    /**
     * 员工标识
     */
    @ApiModelProperty(value = "员工标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long employeeSoid;

    /**
     * 位置标识
     */
    @ApiModelProperty(value = "位置标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long locationSoid;

    /**
     * 业务单元标识
     */
    @ApiModelProperty(value = "业务单元标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long businessUnitSoid;

    /**
     * 最后修改人
     */
    @ApiModelProperty(value = "最后修改人")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long updateUser;

    /**
     * 逻辑删除标识
     */
    @ApiModelProperty(value = "逻辑删除标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long isDelete;

    /**
     * 最后修改日期
     */
    @ApiModelProperty(value = "最后修改日期")
    private Date updateDate;

    /**
     * 创建日期
     */
    @ApiModelProperty(value = "创建日期")
    private Date createDate;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long status;

    /**
     * 检查类型标识
     */
    @ApiModelProperty(value = "检查类型标识")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long examServiceType;
}
